
/*
 * @ref
 *  this.dependenceMap.push([type,thisPath,targetPath,beforeLoad]); 
 * @ref
 *  this.dependenceMap.push([type,thisPath,targetPath,beforeLoad]);
 */
function PackageDependence(pkgName){
	this.pkg = $import(pkgName + ":");
	this.fileMap = {};
	for(var file in this.pkg.scriptObjectMap){
	  this.fileMap[file] = new FileDependence(this,file);
	}
}
function FileDependence(pkgdep,file){
	this.packageDependence = pkgdep;
	this.fileName = file;
}